package com.jintian.smart.kernel.switching.api;

import org.springframework.context.ApplicationContext;

import java.io.File;

public interface ILoader {
	Object load(File dataFile);

	Object load(byte[] data);

	ApplicationContext getApplicationContext();

	boolean support(Class<?> dataType, Class<?> ruleClass, String ruleName);
}
